package com.bite.config.demo.facade;

public class FacadeClient {
    private Light hallLight = new HallLight();
    private Light bedRoomLight = new BedRoomLight();
    private Light livingRoomLight = new LivingRoomLight();

    public void allLightOn() {
        hallLight.on();
        bedRoomLight.on();
        livingRoomLight.on();
    }

    public void allLightOff() {
        hallLight.off();
        bedRoomLight.off();
        livingRoomLight.off();
    }
}
